;(function(window) {

  var svgSprite = '<svg>' +
    '' +
    '<symbol id="icon-shuipingzuo" viewBox="0 0 1024 1024">' +
    '' +
    '<path d="M76.8 524.288l0-169.984 279.552-184.32 69.632 134.144 175.104-137.216 71.68 135.168 176.128-132.096 95.232 141.312-3.072 222.208-134.144-154.624-184.32 134.144-68.608-137.216-184.32 129.024-77.824-132.096zM76.8 907.264l0-168.96 279.552-184.32 69.632 134.144 175.104-137.216 71.68 135.168 176.128-132.096 95.232 140.288-3.072 223.232-134.144-155.648-184.32 135.168-68.608-137.216-184.32 129.024-77.824-133.12z"  ></path>' +
    '' +
    '</symbol>' +
    '' +
    '<symbol id="icon-mojiezuo" viewBox="0 0 1024 1024">' +
    '' +
    '<path d="M723.306228 503.293016q24.012071 0 48.984626 11.525794t44.662453 33.6169 32.176176 54.267281 12.486277 73.476938q0 43.221729-22.091106 79.239836t-57.14873 58.109213-78.279353 27.373761-86.443457-13.927001q-17.288691 39.379797-38.419314 76.838628t-49.945108 65.793076-65.793076 43.70197-85.002733 8.644346q-8.644346-0.960483-15.367726-2.401207t-11.525794-3.36169q-5.762897-1.920966-9.604829-3.841931l16.328209-138.309531q16.328209 1.920966 34.577383-2.881449t34.097141-12.486277 27.373761-17.288691 14.407243-18.249174q7.683863-21.130623 16.80845-50.42535t21.610864-61.951144q-13.44676-25.933037-23.53183-57.628971t-17.768933-71.075731q-3.841931-20.17014-6.243139-47.543901t-3.841931-55.227764-2.881449-54.747523-3.841931-48.024143-6.243139-33.136659-9.604829-10.08507q-11.525794-1.920966-19.689899 22.091106t-13.927001 60.030178-9.124587 75.397904-4.322173 67.2338l-128.704703 0q-1.920966-73.95718-4.322173-117.65915t-6.243139-70.59549-10.08507-43.70197-17.768933-36.97859q-4.802414-8.644346-13.927001-14.407243t-17.768933-8.644346q-10.565311-3.841931-22.091106-4.802414l0-129.665186q26.89352 0 49.464867 8.644346t41.300763 23.53183 33.6169 34.577383 26.413279 40.820521l4.802414-10.565311q5.762897-11.525794 15.367726-27.854003t24.492313-31.215693 35.057624-25.452796 47.06366-10.565311q35.537866 0 59.549937 19.209657t39.860039 51.385833 25.452796 74.437421 15.847967 88.364423 11.045553 93.166837 11.525794 89.324906q24.012071-21.130623 52.826557-33.6169t64.352351-12.486277zM719.464297 697.310553q4.802414-0.960483 9.604829-8.164104t6.243139-14.887484-3.36169-14.407243-20.17014-6.72338q-10.565311 1.920966-19.689899 12.966519t-18.729416 29.294727q19.209657 8.644346 46.103177 1.920966z"  ></path>' +
    '' +
    '</symbol>' +
    '' +
    '<symbol id="icon-sheshouzuo" viewBox="0 0 1024 1024">' +
    '' +
    '<path d="M538.624 948.224l-146.432-145.408-182.272 182.272-105.472-104.448 183.296-183.296q-41.984-40.96-68.608-68.608l-44.032-43.008-23.552-24.576q-8.192-7.168-9.216-9.216l104.448-104.448 145.408 145.408 233.472-233.472q-62.464-15.36-101.376-25.088t-60.928-15.36-30.208-7.68l-10.24-2.048q-2.048-1.024-0.512-0.512t-0.512-0.512l35.84-143.36 371.712 92.16 91.136 370.688-144.384 35.84-49.152-195.584-229.376 229.376 145.408 146.432z"  ></path>' +
    '' +
    '</symbol>' +
    '' +
    '<symbol id="icon-jiantouyou" viewBox="0 0 1024 1024">' +
    '' +
    '<path d="M367.537 827.024c-5.391 0-10.463-2.096-14.275-5.91-3.815-3.812-5.91-8.882-5.91-14.275s2.097-10.461 5.91-14.275l296.39-296.301c7.978-8.007 7.986-21.034-0.002-29.024l-296.384-296.419c-3.815-3.812-5.91-8.881-5.91-14.274s2.097-10.463 5.91-14.274c3.815-3.815 8.885-5.916 14.275-5.916 5.391 0 10.463 2.099 14.275 5.916l296.389 296.416c23.707 23.703 23.718 62.33 0.021 86.103l-296.415 296.331c-3.811 3.818-8.881 5.91-14.274 5.91z"  ></path>' +
    '' +
    '</symbol>' +
    '' +
    '<symbol id="icon-iconfontarrleft" viewBox="0 0 1024 1024">' +
    '' +
    '<path d="M605.445 152.113c5.242 0 10.481 1.999 14.482 5.999 7.998 7.997 7.998 20.965 0 28.963l-336.579 336.579 336.579 336.58c7.998 7.998 7.998 20.965 0 28.963s-20.965 7.998-28.963 0l-351.061-351.061c-3.84-3.84-5.998-9.05-5.998-14.481s2.158-10.641 5.999-14.482l351.06-351.062c3.999-3.998 9.242-5.998 14.481-5.998z"  ></path>' +
    '' +
    '</symbol>' +
    '' +
    '<symbol id="icon-youjiantou" viewBox="0 0 1024 1024">' +
    '' +
    '<path d="M337.520665 877.836059 337.520665 809.614282 627.455033 519.67275 337.520665 229.743498 337.520665 161.52172 695.688067 519.67275Z"  ></path>' +
    '' +
    '</symbol>' +
    '' +
    '<symbol id="icon-sanheng" viewBox="0 0 1024 1024">' +
    '' +
    '<path d="M942.004009 541.080316 82.058412 541.080316c-15.809057 0-28.719088-13.003152-28.719088-29.063943 0-16.061814 12.911054-29.097712 28.719088-29.097712l859.945597 0c15.809057 0 28.656667 13.034874 28.656667 29.097712C970.660676 528.077164 957.81409 541.080316 942.004009 541.080316L942.004009 541.080316z"  ></path>' +
    '' +
    '<path d="M942.004009 541.080316 82.058412 541.080316c-15.809057 0-28.719088-13.003152-28.719088-29.063943 0-16.061814 12.911054-29.097712 28.719088-29.097712l859.945597 0c15.809057 0 28.656667 13.034874 28.656667 29.097712C970.660676 528.077164 957.81409 541.080316 942.004009 541.080316L942.004009 541.080316z"  ></path>' +
    '' +
    '<path d="M942.004009 863.568101 82.058412 863.568101c-15.809057 0-28.719088-13.005198-28.719088-29.065989 0-16.061814 12.911054-29.098735 28.719088-29.098735l859.945597 0c15.809057 0 28.656667 13.035898 28.656667 29.098735C970.660676 850.562902 957.81409 863.568101 942.004009 863.568101L942.004009 863.568101z"  ></path>' +
    '' +
    '<path d="M942.004009 863.568101 82.058412 863.568101c-15.809057 0-28.719088-13.005198-28.719088-29.065989 0-16.061814 12.911054-29.098735 28.719088-29.098735l859.945597 0c15.809057 0 28.656667 13.035898 28.656667 29.098735C970.660676 850.562902 957.81409 863.568101 942.004009 863.568101L942.004009 863.568101z"  ></path>' +
    '' +
    '<path d="M942.004009 218.594577 82.058412 218.594577c-15.809057 0-28.719088-13.004175-28.719088-29.064966 0-16.061814 12.911054-29.098735 28.719088-29.098735l859.945597 0c15.809057 0 28.656667 13.035898 28.656667 29.098735C970.660676 205.590402 957.81409 218.594577 942.004009 218.594577L942.004009 218.594577z"  ></path>' +
    '' +
    '<path d="M942.004009 218.594577 82.058412 218.594577c-15.809057 0-28.719088-13.004175-28.719088-29.064966 0-16.061814 12.911054-29.098735 28.719088-29.098735l859.945597 0c15.809057 0 28.656667 13.035898 28.656667 29.098735C970.660676 205.590402 957.81409 218.594577 942.004009 218.594577L942.004009 218.594577z"  ></path>' +
    '' +
    '</symbol>' +
    '' +
    '<symbol id="icon-search" viewBox="0 0 1024 1024">' +
    '' +
    '<path d="M243.523705 648.420239C131.876014 536.795971 131.876014 355.166204 243.523705 243.541934 297.61283 189.426216 369.504161 159.682363 446.002451 159.682363 522.443863 159.682363 594.335196 189.426216 648.42432 243.541934 760.072013 355.166204 760.072013 536.795971 648.42432 648.420239 594.335196 702.479411 522.443863 732.279808 445.945575 732.279808 369.504161 732.279808 297.61283 702.479411 243.523705 648.420239L243.523705 648.420239ZM921.6 881.112172 707.120404 666.628454C821.213768 531.650171 816.151798 330.285414 688.920069 203.054104 621.806331 135.932519 533.875953 102.4 446.002451 102.4 358.072074 102.4 270.141697 135.932519 203.027956 203.054104 68.857348 337.184179 68.857348 554.721449 203.027956 688.908068 270.141697 755.973105 358.072074 789.562173 445.945575 789.562173 524.83266 789.562173 602.809728 761.062359 666.624655 707.116283L881.161129 921.6 921.6 881.112172Z"  ></path>' +
    '' +
    '</symbol>' +
    '' +
    '</svg>'
  var script = function() {
    var scripts = document.getElementsByTagName('script')
    return scripts[scripts.length - 1]
  }()
  var shouldInjectCss = script.getAttribute("data-injectcss")

  /**
   * document ready
   */
  var ready = function(fn) {
    if (document.addEventListener) {
      if (~["complete", "loaded", "interactive"].indexOf(document.readyState)) {
        setTimeout(fn, 0)
      } else {
        var loadFn = function() {
          document.removeEventListener("DOMContentLoaded", loadFn, false)
          fn()
        }
        document.addEventListener("DOMContentLoaded", loadFn, false)
      }
    } else if (document.attachEvent) {
      IEContentLoaded(window, fn)
    }

    function IEContentLoaded(w, fn) {
      var d = w.document,
        done = false,
        // only fire once
        init = function() {
          if (!done) {
            done = true
            fn()
          }
        }
        // polling for no errors
      var polling = function() {
        try {
          // throws errors until after ondocumentready
          d.documentElement.doScroll('left')
        } catch (e) {
          setTimeout(polling, 50)
          return
        }
        // no errors, fire

        init()
      };

      polling()
        // trying to always fire before onload
      d.onreadystatechange = function() {
        if (d.readyState == 'complete') {
          d.onreadystatechange = null
          init()
        }
      }
    }
  }

  /**
   * Insert el before target
   *
   * @param {Element} el
   * @param {Element} target
   */

  var before = function(el, target) {
    target.parentNode.insertBefore(el, target)
  }

  /**
   * Prepend el to target
   *
   * @param {Element} el
   * @param {Element} target
   */

  var prepend = function(el, target) {
    if (target.firstChild) {
      before(el, target.firstChild)
    } else {
      target.appendChild(el)
    }
  }

  function appendSvg() {
    var div, svg

    div = document.createElement('div')
    div.innerHTML = svgSprite
    svgSprite = null
    svg = div.getElementsByTagName('svg')[0]
    if (svg) {
      svg.setAttribute('aria-hidden', 'true')
      svg.style.position = 'absolute'
      svg.style.width = 0
      svg.style.height = 0
      svg.style.overflow = 'hidden'
      prepend(svg, document.body)
    }
  }

  if (shouldInjectCss && !window.__iconfont__svg__cssinject__) {
    window.__iconfont__svg__cssinject__ = true
    try {
      document.write("<style>.svgfont {display: inline-block;width: 1em;height: 1em;fill: currentColor;vertical-align: -0.1em;font-size:16px;}</style>");
    } catch (e) {
      console && console.log(e)
    }
  }

  ready(appendSvg)


})(window)